// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ISettingsSource.cs" company="AzureContrib (Open source library http://azurecontrib.codeplex.com)">
//   Microsoft Public License (Ms-PL)
// </copyright>
// <summary>
//	 A way to fetch configuration setting values.
// </summary>
// --------------------------------------------------------------------------------------------------------------------

namespace AzureContrib.WindowsAzure.StorageClient
{
	/// <summary>
	/// A way to fetch configuration setting values.
	/// </summary>
	public interface ISettingsSource
	{
		/// <summary>
		/// Try to get the <paramref name="settingValue"/>.
		/// </summary>
		/// <param name="settingName">Name of the value to get.</param>
		/// <param name="settingValue">The value found.</param>
		/// <returns>True if the value is possible to find.</returns>
		bool TryGetConfigurationSettingValue(string settingName, out string settingValue);
	}
}